package com.iengoo.inductionms.service.impl;

import com.iengoo.inductionms.entity.EmployeeCategory;
import com.iengoo.inductionms.mapper.EmployeeCategoryMapper;
import com.iengoo.inductionms.service.EmployeeCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:huermao
 **/
@Service
public class EmployeeCategoryServiceImpl implements EmployeeCategoryService {
    @Autowired
    private EmployeeCategoryMapper employeeCategoryMapper;
    @Override
    public List<EmployeeCategory> queryAll() {
        List<EmployeeCategory> employeeCategoryList = employeeCategoryMapper.queryAll();
        return employeeCategoryList;
    }
}
